/**
 * Created by dllo on 18/3/31.
 */
public class Test华为 {
    public static void main(String[] args) {
        for (int abc = 100; abc < 1000; abc++) {
            int a = abc/100;//求出百位数;
            int b =abc%100/10;//求出百位数;
            int c=abc%100%10;//求出个位数
            int cba = c*100+b*10+a;
            if(abc+cba==1333){
                System.out.println(abc);
            }

        }

    }
}
